package com.runfast.waimai.service;

import com.runfast.common.service.IService;
import com.runfast.waimai.dao.model.RunfastCreditlevel;
import com.runfast.waimai.dao.model.RunfastCreditlevelExample;

import java.util.List;

public interface RunfastCreditlevelService extends IService<RunfastCreditlevel, Integer, RunfastCreditlevelExample> {
    List<RunfastCreditlevel> findAll();

    RunfastCreditlevel get(Integer id);
    void delete(Integer id);

    List<RunfastCreditlevel> findcreditlevelAndAgentid(Integer  sort,String agentname);

    List<RunfastCreditlevel> findEndgrade(Integer agentid, Integer sort,Integer page,Integer pagesize);
    Integer findEndgradecount(Integer agentid,Integer  sort);
}